<?php
/**
 * Created by PhpStorm.
 * User: wangshikun
 * Date: 2019/3/15
 * Time: 18:23
 */

namespace pdd\api;


class PddDdkOauthGoodsPidGenerate  extends Pdd
{

    public  $number;//数量
    public  $p_id_name_list=[];//pid推广位名称
    private $Paras=array();


    //接口信息
    public function getApiMethodName(){
        return 'pdd.ddk.oauth.goods.pid.generate';
    }


    //设置推广位数量
    public function setNumber($number){
        $this->goods_id=$number;
        $this->Paras['number']=$number;
    }

    //设置推广位名称
    public function setPidNamePist($p_id_name_list){
        $this->p_id_name_list=$p_id_name_list;
        $this->Paras['p_id_name_list']="['$p_id_name_list']";
    }

    //获取业务参数
    public function getApiParas(){
        return $this->Paras;
    }




}